/*
 * @Title: 遇到问题模块
 * @Created by: gsjPC 
 */
<template>
	<view>
		<comHeader :config="navConfig"/>
		<view class="askList">
			<view 
			v-for="(ask,index) in askList"
			:key="index"
			@tap="askDetails(ask.url)">
			<text>{{ask.title}}</text>
			<view class="ico"><uni-icon type="arrowright" size="20" color="#999999"></uni-icon></view>
			</view>
		</view>
	</view>
</template>

<script>
	import uniIcon from '@/components/uni-icon/uni-icon'
	export default{
		components:{
			uniIcon
		},
		data(){
			return{
				navConfig:{
					isFixed:false,
					left:{
						text:'',  
						isShowLeft:true,
						leftGobackColor:'black',
						leftTextColor:'black',
					},
					mid:{
						isShowMid:true,
						text:'遇到问题'
					},
					right:{
						text:'',
						isShowRight:false,
					}
				},
				askList:[
					{title:'忘记账户名',url:'/pages/login/ask1'},
					{title:'重置登录密码后仍无法登录',url:'/pages/login/ask2'},
					{title:'手机丢失',url:'/pages/login/ask3'},
					{title:'收到不是本人操作的短信',url:'/pages/login/ask4'},
					{title:'网络安全知识',url:'/pages/login/ask5'},
				]
			}
		},
		methods:{
			askDetails(askUrl){
				uni.navigateTo({
					url:askUrl
				})
			}
		},
		
	}
</script>

<style>
	.askList{
		display: flex;
		flex-direction: column;
		padding-top: 130upx;
	}
	.askList>view{
		line-height: 80upx;
		margin-left:32upx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		border-bottom:1px solid #EEEEEE;
		align-items: center;
	}
	.askList>view text{
		font-size: 28upx;
		color: #333333;
	}
	.ico{
		margin-right: 32upx;
	}
</style>
